package com.uit.se6.mydiary;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class DiaryCover extends BaseActivity {
	private TextView mtxtOpen;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.diary_cover);
		mtxtOpen = (TextView) findViewById(R.id.txtopen);
		mtxtOpen.setOnClickListener(new View.OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(DiaryCover.this, DiaryMenu.class);
				startActivity(intent);
				overridePendingTransition(R.layout.grow_from_middle,
						R.layout.shrink_to_middle);
			}
		});
	}

}
